<?php
/**
 * True Gallery Page Navigator II template file
 *
 * @version 2.5
 * @author Alexey N. Brin (userxp@joomlaportal.ru)
 * @homepage http://truegallery.ru 
 * @filename pagenav2.tpl.php
 * @package True Gallery
 * @copyright (C) 2008-2009 by joomlatune.ru
 * @license GNU/GPL: http://www.gnu.org/copyleft/gpl.html
 * 
 * THIS GALLERY is an EVOLUTION of AkoGallery -> PonyGallery -> DatsoGallery
 *
 * If you fork this to create your own project, 
 * please make a reference to True Gallery someplace in your code 
 * and provide a link to http://www.joomlatune.ru
 *
 **/

defined('_VALID_MOS') or defined('_JEXEC') or die('Direct Access to this location is not allowed.');
?>
<style>

</style>

<div style="clear:both;"></div>
<div class="true_nav">
	<?php
	if( $row->first || $row->prev || $row->next && $row->last ) {
		if($row->first) {
			?><a href="<?php echo $row->first; ?>">&lt;&lt;[<?php echo JText::_('TG_FIRST'); ?>]</a>&nbsp;<?php 
		} else {
			?><span>&lt;&lt;[<?php echo JText::_('TG_FIRST'); ?>]</span>&nbsp;<?php 
		}
		if($row->prev) { ?><a href="<?php echo $row->prev; ?>">&lt;[<?php echo JText::_('TG_PREV'); ?>]</a>&nbsp;<?php }
		else { ?><span>&lt;[<?php echo JText::_('TG_PREV'); ?>]</span>&nbsp;<?php  }

		if($row->next) { ?><a href="<?php echo $row->next; ?>">[<?php echo JText::_('TG_NEXT'); ?>]&gt;</a>&nbsp;<?php }
		else { ?><span>[<?php echo JText::_('TG_NEXT'); ?>]&gt;</span>&nbsp;<?php  }
		
		if($row->last) { ?><a href="<?php echo $row->last; ?>">[<?php echo JText::_('TG_LAST'); ?>]&gt;&gt;</a>&nbsp;<?php } 
		else { ?><span>[<?php echo JText::_('TG_LAST'); ?>]&gt;&gt;</span>&nbsp;<?php  }
	}
	?>
</div>
<div style="clear:both;"></div>
